Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@cielavenir
cielavenir / readme.md
Last active September 13, 2026 05:53
zoom sandbox-exec for macOS
  1. Download Zoom.pkg from https://zoom.us/download
  2. Extract it using https://www.timdoug.com/unpkg/
  3. Now you have Zoom/zoom.us.app
  4. Launch Zoom by zoom.sh Zoom/zoom.us.app/Contents/MacOS/zoom.us

caveats:

  • Zoom will fail to start meeting for the first time. Just launch again.
  • Zoom will tell that crash happened, but you should ignore it.
@wille3643
wille3643 / gist:10981270ed7de6ad1e5f9d93ad746a4a
Created December 18, 2024 15:07
Minitab 24.1 Crack + (100% Functional) Product Key [Newest] 2024
Minitab License Key
@pratyushgguptaa
pratyushgguptaa / left_factoring.c
Last active September 13, 2026 05:51
Left Factoring Implementation in C (only left factoring, no removal of left recursion)
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
/*
3
A--> adAb | adABab | adCb
B => aBa | aBab |a
C -> aC |ab | abc
*/

สร้างภาพห้องสตูดิโอทำงานแบบ Isometric 3D Cutaway Diorama สำหรับสตูดิโอขนาดเล็กที่ทำงานเพียงคนเดียว ชื่อ “[ชื่อ STUDIO]” เจ้าของสตูดิโอทำงานเกี่ยวกับ “[อาชีพ / ประเภทงาน]”

ออกแบบให้เป็นห้องทำงานส่วนตัวขนาดเล็ก กะทัดรัด ใช้งานได้จริง และสะท้อนตัวตนของเจ้าของห้อง ใช้โทนสีหลัก “[สีหลัก]” และ “[สีรอง]” พร้อมสี Accent “[สี Accent]” เล็กน้อย เพื่อสร้างเอกลักษณ์ให้กับ Studio

ห้องมีขนาดประมาณ “[ขนาดห้อง เช่น 3.5 x 3.5 เมตร]” ใช้แปลนห้องทรงสี่เหลี่ยมเรียบง่าย สัดส่วนสมจริง ไม่อัดแน่นจนเกินไป และมีพื้นที่ว่างเพียงพอให้มองเห็น Layout และตำแหน่งของเฟอร์นิเจอร์แต่ละชิ้นได้อย่างชัดเจน

แสดงห้องทั้งหมดจากมุมกล้องสูงแบบ 3/4 Isometric ใช้ Orthographic Projection ลักษณะเหมือน Architectural Dollhouse หรือห้องจำลองขนาดเล็ก โดยเปิดผนังออก 2 ด้าน เพื่อให้มองเห็นพื้น ผนัง การจัดวางเฟอร์นิเจอร์ และองค์ประกอบทั้งหมดภายในห้องอย่างชัดเจน เหมาะสำหรับนำภาพไปใช้เป็น Reference สำหรับสร้างโมเดลใน Blender

พื้นที่ทำงานหลักประกอบด้วยโต๊ะ “[รูปแบบ / สีของโต๊ะ]” จำนวน 1 ตัว เก้าอี้ทำงาน “[รูปแบบ / สีของเก้าอี้]” จำนวน 1 ตัว หน้าจอคอมพิวเตอร์ “

@MuTLY
MuTLY / keys.txt
Last active September 13, 2026 05:46
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild
566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU
082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN
#EXTM3U
#EXTINF:0 group-title="General",13 C
#EXTGRP:General
#EXTVLCOPT:network-caching=1000
http://181.78.79.131:8000/play/a0pm
#EXTINF:0 group-title="Entretenimiento",A&E HD
#EXTGRP:Entretenimiento
#EXTVLCOPT:network-caching=1000
http://181.78.79.131:8000/play/a0mt
#EXTINF:0 group-title="Entretenimiento",AE Mundo
@fabien-github
fabien-github / Invidious Vertical Video Filter-4.1.user.js
Last active September 13, 2026 05:40
Invidious Vertical Video Filter (Remove shorts)
// ==UserScript==
// @name Invidious Vertical Video Filter
// @namespace invidious-vertical-video-filter
// @version 4.1
// @description Hide vertical videos.
// @author fabien-github (https://gist.github.com/fabien-github/60d7005a0d54c76ac39bd208fb966038)
// @match https://inv.nadeko.net/*
// @grant none
// @run-at document-idle
// @noframes
@lijigang
lijigang / notes-evolution.md
Created June 22, 2026 05:19
进化式笔记系统 — 用自然选择驱动个人知识库新陈代谢的模式

进化式笔记系统

一种用自然选择驱动个人知识库新陈代谢的模式。

核心想法

大多数人的笔记系统是图书馆:你写一篇笔记,它被归档,从此静静躺着。偶尔被翻出来,但更多时候永远沉底。笔记只会被「更新」——有新信息就补上去。它不会自己生长、不会淘汰过时的内容、不会发现两个从未被放在一起的想法之间有惊人的关联。Karpathy 的 LLM Wiki 解决了「编译」问题——让 LLM 帮你维护知识库的一致性和交叉引用。但它本质上还是一座越来越厚的百科全书。没有新陈代谢。

这里的想法不同。笔记不是静态文档,是有机体。整个笔记系统不是图书馆,是生态系统。有机体会繁殖、变异、竞争、死亡。生态系统会自发涌现出你从未预期的新物种。驱动这一切的引擎,是达尔文的三件套: